package com.py.framework.core.entity;

/**
 * 菜单资源实体
 * 
 * @author Leegern
 * @date 2018年4月23日
 */
public class MenuEntity extends BaseEntity {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -7497712779323270387L;
	/** 菜单名称 **/
	private String menuName;
	/** 父节点ID **/
	private long parentId;
	/** 所有父节点 **/
	private String allParentId;
	/** 菜单类型，1：子系统，2：模块，3：功能，4：资源 **/
	private int menuType;
	/** URL地址 **/
	private String linkUrl;

	/** 前端地址 **/
	private String routeAddr;
	/** ICON图标 **/
	private String icon;
	/** 排序 **/
	private int orderBy;
	/** 父节点名称 **/
	private String parentMenuName;

	/**
	 * @return the menuName
	 */
	public String getMenuName() {
		return menuName;
	}

	/**
	 * @param menuName
	 *            the menuName to set
	 */
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	/**
	 * @return the parentId
	 */
	public long getParentId() {
		return parentId;
	}

	/**
	 * @param parentId
	 *            the parentId to set
	 */
	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	/**
	 * @return the allParentId
	 */
	public String getAllParentId() {
		return allParentId;
	}

	/**
	 * @param allParentId
	 *            the allParentId to set
	 */
	public void setAllParentId(String allParentId) {
		this.allParentId = allParentId;
	}

	/**
	 * @return the menuType
	 */
	public int getMenuType() {
		return menuType;
	}

	/**
	 * @param menuType
	 *            the menuType to set
	 */
	public void setMenuType(int menuType) {
		this.menuType = menuType;
	}

	/**
	 * @return the linkUrl
	 */
	public String getLinkUrl() {
		return linkUrl;
	}

	/**
	 * @param linkUrl
	 *            the linkUrl to set
	 */
	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}

	/**
	 * @param icon
	 *            the icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}

	/**
	 * @return the orderBy
	 */
	public int getOrderBy() {
		return orderBy;
	}

	/**
	 * @param orderBy
	 *            the orderBy to set
	 */
	public void setOrderBy(int orderBy) {
		this.orderBy = orderBy;
	}

	/**
	 * @return the parentMenuName
	 */
	public String getParentMenuName() {
		return parentMenuName;
	}

	/**
	 * @param parentMenuName
	 *            the parentMenuName to set
	 */
	public void setParentMenuName(String parentMenuName) {
		this.parentMenuName = parentMenuName;
	}

	public String getRouteAddr() {
		return routeAddr;
	}

	public void setRouteAddr(String routeAddr) {
		this.routeAddr = routeAddr;
	}

}